package org.example.shop.pojo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@Accessors(chain = true)

@Entity
public class Goods  implements Serializable {
    @Id
    private Integer id;
    private String name;
    private Integer stock;
    private Integer price;
}
